<script>
	//Checking whether the form was submitted successfuly
  var formsubmitted = '<%#formsubmitted%>'
 if(formsubmitted == "1")
	{
		alert('Submitted sucessfully.');
		window.opener.document.getElementsByTagName("*")["hiddenreportset"].value = "1";
		window.opener.document.forms[0].submit();
	}
</script>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	<TR>
		<TD class="N-TopLineBG"><IMG SRC="<%#VirtualDirectory%>/images/spacer.gif" WIDTH="10" HEIGHT="10"></TD>
	</TR>
	<TR>
		<TD>
			<TABLE cellspacing="1" cellpadding="5" border="0" width="100%">
				<TR Class="N-MainBGColor">
					<TD colspan="2"><font class="heading2">Report Sets </font>
					</TD>
				</TR>
				<TR CLASS="N-ListBGCOLORCOL2">
					<TD>
						<TABLE border="0" cellspacing="1" cellpadding="6" width="100%">
							<!-- Gets loaded from ReportSetListDetailsErr.htm -->
							<%#ErrReportSetList%>
							<TR Class="N-MainBGColor">
								<TD width="30%" Class="N-MainBGColor"><font class="heading2">Report Set Name</font>
								<TD width="60%"><font class="heading2">Expression</font></TD>
								<TD width="10%"><div align="center" class="heading2">Delete?</div>
								</TD>
							</TR>
							<!-- Gets loaded from ReportSetListDetails.htm
								If values are null then
								Gets loaded from ReportSetListDetailsInfo.htm -->
							<%#ReportSetList%>
						</TABLE>
					</TD>
				</TR>
				<TR Class="N-MainBGColor">
					<TD Colspan="2" align="center">
						<INPUT TYPE="submit" value=" Submit " class="button2" name="btnDelete"> &nbsp;&nbsp;
						<INPUT TYPE="button" value=" Close " class="button2" name="btnClose" onclick="javascript:closewindow()">
					</TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
		<TD Class="N-LogoBG"><IMG SRC="<%#VirtualDirectory%>/images/spacer.gif" WIDTH="10" HEIGHT="10"></TD>
	</TR>
</TABLE>
<script>
	function closewindow()
	{
		window.close();
	}
</script>
